﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="dataList.aspx.cs" Inherits="dataList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>数据库课程 - 三剑客在线教育系统</title>
    <link rel="stylesheet" href="../css/navstyle.css" media="all" />
    <link rel="stylesheet" href="../css/page.css" media="all" />
    <link rel="stylesheet" href="../css/articleStyle.css" media="all" />
    <link rel="stylesheet" href="../css/tophit.css" media="all" />
    <style type="text/css">
        .main
        {
            margin: 5px auto 0px auto;
            width: 1024px;
            height: 100%;
            background-color: #FFFFFF;
            border: 0;
            text-align: left; 
        }
        .left
        {
            width: 680px;
            background-color: #ffffff;
            float: left;
            margin-top: 10px;
            margin-bottom:10px;
            margin-left: 30px;
            _margin-left: 15px;
            border-right:1px solid #DFDFDF;         
        }
        .rigth
        {
            width: 270px;
            float: left;
            background-color: #ffffff;

            padding-bottom:10px;
            padding-left:20px;
            padding-right:10px;
            padding-top:10px;
            margin-top: 10px;
            margin-bottom:10px;
        }
        .info
        {
            width: 90%;
            margin: 0 auto;
            background-color: #ffffff;
        }
        .info img
        {
            max-width: 430px;
            width: expression(this.width > 430 ? 430: true);
        }
        .list
        {
            width: 650px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-right:40px;
            _margin-right:30px;
            height: auto;
            color: #333333;
            vertical-align: middle;
       }
       .tab
        {
            width: 650px;
            margin-top: 10px;
            margin-bottom: 10px;
            margin-right:40px;
            _margin-right:30px;
            height: auto;
            text-align: center;
            color: #333333;
            text-align: center;
            vertical-align: middle;
            border-collapse: collapse; /*细线表格代码*/
            
        }
        .tab th
        {
            height: 25px;
        }
        /*　Repeater内部Table的td样式 */
        .tab td
        {
            height: 30px;
            border-bottom-width:70%;
            border-bottom:1px dashed  #aaa;
            _border-bottom:1px dashed  #eeeeee;
            text-align:left;
            
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div class="all">
        <div class="banner">
            <div class="logo">
            </div>
            <div class="blankleft">
            </div>
            <div class="blankalt">
            </div>
            <div class="blankrigth">
            </div>
        </div>
        <div class="NavBar">
            <div id="menu">
                <ul>
                    <li><a href="/"><span>首页</span></a></li>
                    <li><a href="../newsList.aspx"><span>新闻中心</span></a></li>
                    <li><a href="../javaList.aspx"><span>Java专区</span></a></li>
                    <li><a href="../netList.aspx"><span>.net专区</span></a></li>
                    <li><a href="../dataList.aspx" class="current"><span>数据库专区</span></a></li>
                    <li><a href="../otherList.aspx"><span>其他 专区</span></a></li>
                    <li><a href="../teacherList.aspx"><span>教师简介</span></a></li>
                    <li><a href="../aboutus.aspx"><span>关于我们</span></a></li>
                </ul>
            </div>
        </div>
        <div class="main">
            <div class="mappath">
                您所在的位置：<asp:SiteMapPath ID="smp_web" runat="server">
                </asp:SiteMapPath>
            </div>
            <div class="center"></div>
            <div class="left">
            <div class="list course_list">
            <ul>
                <asp:Repeater ID="list" runat="server">
                        <ItemTemplate>
                            <li><span class="datetime"><%# DataBinder.Eval(Container.DataItem, "updatetime", "{0:yyyy/MM/dd}")%></span><a target="_blank" href="../Course.aspx?id=<%# DataBinder.Eval(Container.DataItem, "courseId")%>">
                                    <%# DataBinder.Eval(Container.DataItem, "courseName")%></a></li>
                        </ItemTemplate>
                 </asp:Repeater>
            </ul>
            </div>
                <div align="center" style="text-align: center; width: 650px;font-size:12px;margin-top:0px; float:left">
                [页次:<asp:Label ID="nowPage" runat="server" Font-Bold="True"></asp:Label>/<asp:Label
                    ID="allPages" runat="server" Font-Bold="True" ForeColor="#C00000"></asp:Label>]
                [共<asp:Label ID="allMsg" runat="server" Font-Bold="True"></asp:Label>条
                <asp:Label ID="onePage" runat="server" Font-Bold="True"></asp:Label>条/页] [<asp:HyperLink
                    ID="firstPage" runat="server">首页</asp:HyperLink>] [<asp:HyperLink ID="prePage" runat="server">上一页</asp:HyperLink>]
                [<asp:HyperLink ID="nextPage" runat="server">下一页</asp:HyperLink>] [<asp:HyperLink
                    ID="endPage" runat="server">尾页</asp:HyperLink>]
                </div>
            
            </div>
            <div class="rigth">
                <div class="portlet" style="width: 260px">
                    <h2>
                        本类热点课程</h2>
                    <div class="portletcontent">
                        <div class="bi">
                            <p>
                            </p>
                            <table width="250" border="0">
                                <asp:Repeater ID="hit_list" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td width="200" align="left">&nbsp;&nbsp;&nbsp;&nbsp;
                                                <a target="_blank" href="../Course.aspx?id=<%# DataBinder.Eval(Container.DataItem, "courseid")%>">
                                                    <%# DataBinder.Eval(Container.DataItem, "courseName").ToString().Length > 11 ? DataBinder.Eval(Container.DataItem, "courseName").ToString().Substring(0, 11) : DataBinder.Eval(Container.DataItem, "courseName").ToString()%></a>
                                            </td>
                                            <td width="50" align="left">
                                                <%# DataBinder.Eval(Container.DataItem, "num")%>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                            <p>
                            </p>
                            <div class="bb">
                                <div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="portlet" style="width: 260px">
                    <h2>
                        本站热点课程</h2>
                    <div class="portletcontent">
                        <div class="bi">
                            <p>
                            </p>
                            <table width="250" border="0">
                                <asp:Repeater ID="all_hit_list" runat="server">
                                    <ItemTemplate>
                                        <tr>
                                            <td width="200" align="left">&nbsp;&nbsp;&nbsp;&nbsp;
                                                <a target="_blank" href="../Course.aspx?id=<%# DataBinder.Eval(Container.DataItem, "courseid")%>">
                                                    <%# DataBinder.Eval(Container.DataItem, "courseName").ToString().Length > 11 ? DataBinder.Eval(Container.DataItem, "courseName").ToString().Substring(0, 11) : DataBinder.Eval(Container.DataItem, "courseName").ToString()%></a>
                                            </td>
                                            <td width="50" align="left">
                                                <%# DataBinder.Eval(Container.DataItem, "num")%>
                                            </td>
                                        </tr>
                                    </ItemTemplate>
                                </asp:Repeater>
                            </table>
                            <p>
                            </p>
                            <div class="bb">
                                <div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            
            <div style="font: 0px/0px sans-serif; clear: both; display: block">
            </div>
        </div>
        <div class="bottom">
            <div class="blogroll">
                <img src="images/blogrool.gif" alt="" height="31" width="88" border="0" />
                <asp:Repeater ID="blogrollList" runat="server">
                    <ItemTemplate>
                        <a href="http://<%# DataBinder.Eval(Container.DataItem, "sitelink")%>" target="_blank">
                            <img src="<%# DataBinder.Eval(Container.DataItem, "siteLogo")%>" height="31" width="88"
                                alt="<%# DataBinder.Eval(Container.DataItem, "siteAlt")%>" border="0" /></a>
                    </ItemTemplate>
                </asp:Repeater>
            </div>
        </div>
        <div class="splitred">
        </div>
        <div class="copyright">
            <% =strcr %>
         </div>
    </div>
    </form>
</body>
</html>

